import {utils} from './../utils/index'

let Shop = {}

utils.commonAddApi(Shop, 'getShopList', 'shop/list', 'post')
utils.commonAddApi(Shop, 'getShopDetail', 'shop/detail', 'post')
utils.commonAddApi(Shop, 'getUserShopDetail', 'shop/detail/usr', 'post')
utils.commonAddApi(Shop, 'addShop', 'shop/create', 'post')
utils.commonAddApi(Shop, 'updateShop', 'shop/update', 'post')
utils.commonAddApi(Shop, 'deleteShop', 'shop/delete', 'post')
utils.commonAddApi(Shop, 'getShopTypes', 'shopType/list', 'post')
utils.commonAddApi(Shop, 'getShopServices', '/services/list/all', 'get')
utils.commonAddApi(Shop, 'getServiceCategoryList', 'static/services.json', 'get')

export default Shop